<?php
include dirname(__FILE__) . "/inc/facebook.php";
include dirname(__FILE__) . "/inc/global.php";
include dirname(__FILE__) . "/dataccess.php";

define("APP_KEY","f2ef1c607911f553c67644ae1566ce32");
define("APP_ID","f2ef1c607911f553c67644ae1566ce32");
define("APP_CALLBACK_URL","http://www2.newpaltz.edu/~plotkin2/bumaride/");
define("APP_CANVAS_URL","http://apps.facebook.com/bumaride/");

$facebook = new Facebook(APP_KEY, APP_SECRET);
if(!isset($facebook->profile_user))
{
	 $uid = $facebook->require_login();
}
AddUser($facebook->user,$facebook->api_key, $facebook->api_client->session_key);

